OpenBuildings GenerativeComponents Help

Replication

In case multiple parameters have lists as inputs there are different possible interpretations of the data sets. To specify the interpretation there is a replication property. The property can be switched between exhaustive and pair-by-pair matching of the parameter lists.

X = {1, 3, 5, 7}
Y = {4, 6, 8, 10}

The default matching of two lists is pair-by-pair. For the above lists the results would be:

{{1,4},{3,6},{5,8},{7,10}}
X = 1   X = 3   X = 5   X = 7
Y = 4   Y = 6   Y = 8   Y = 10

This means that the point will be replicated once for each pair of values creating four point instances. For these values they end up in a diagonal. When the resulting point features are edited with the Replication Style shown below, the two lists are interpreted, creating an exhaustive set of matches between the two sets of values.

Replicate Style toggled

Instead of ending up with four pairs, you end up with 16 pairs of X Y values. The result is a 4x4 grid of point features instead of the diagonal four.

{{{1,4},{1,6},{1,8},{1,10}},{{3,4},{3,6},{3,8},{3,10}},{{5,4},{5,6},{5,8},{5,10}},{{7,4},{7,6},{7,8},{7,10}}}
X = 1   X = 1   X = 1   X = 1
Y = 4   Y = 6   Y = 8   Y = 10
X = 3   X = 3   X = 3   X = 3
Y = 4   Y = 6   Y = 8   Y = 10
X = 5   X = 5   X = 5   X = 5
Y = 4   Y = 6   Y = 8   Y = 10
X = 7   X = 7   X = 7   X = 7
Y = 4   Y = 6   Y = 8   Y = 10